//判断是否移动端
export function isMobile() {
    let isMobile = /Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent);
    return isMobile
}
//监听屏幕变化
window.onresize = function () {
    isMobile();
};